package cn.ghf.org.domain;

import cn.ghf.basic.domain.BaseDomain;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Department extends BaseDomain{
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    //部门领导
    private Employee employee;
    //上级部门
    private Department parentDept;

    //一对多
    private List<Department> children = new ArrayList<>();
}
